var Mock = require('mockjs')
// ajax拦截
Mock.mock(/\/v1_1\/articles/, function (options) {
  return {
    message: 'OK',
    data: {
      page: 1080,
      pre_timestamp: 1603536060815,
      results: [
        {
          title: 'Scrapy和Django实现蚌埠医学院手机新闻网站制作',
          aut_id: 2,
          pubdate: '2018-11-29T15:57:21',
          ch_id: 14,
          cover: {
            type: 0,
            images: []
          },
          is_top: 0,
          art_id: 65569,
          aut_name: '翔爷',
          comm_count: 0,
          like_count: 0,
          collect_count: 0
        },
        {
          title: 'Scrapy和Django实现蚌埠医学院手机新闻网站制作',
          aut_id: 2,
          pubdate: '2018-11-29T15:57:21',
          ch_id: 14,
          cover: {
            type: 1,
            images: ['https://img.yzcdn.cn/vant/cat.jpeg']
          },
          is_top: 0,
          art_id: 65569,
          aut_name: '翔爷',
          comm_count: 0,
          like_count: 0,
          collect_count: 0
        },
        {
          title: 'Scrapy和Django实现蚌埠医学院手机新闻网站制作',
          aut_id: 2,
          pubdate: '2018-11-29T15:57:21',
          ch_id: 14,
          cover: {
            type: 3,
            images: ['https://img.yzcdn.cn/vant/cat.jpeg', 'https://img.yzcdn.cn/vant/cat.jpeg', 'https://img.yzcdn.cn/vant/cat.jpeg']
          },
          is_top: 0,
          art_id: 65569,
          aut_name: '翔爷',
          comm_count: 0,
          like_count: 0,
          collect_count: 0
        }
      ]
    }
  }
})
